﻿<views:MvxWpfView
    x:Class="Sidvall.AuthorizationManager.UI.Wpf.Views.ToolView"
    xmlns:views="clr-namespace:MvvmCross.Wpf.Views;assembly=MvvmCross.Wpf"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:vms="clr-namespace:Sidvall.AuthorizationManager.UI.ViewModels;assembly=Sidvall.AuthorizationManager.UI"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    mc:Ignorable="d" 
    d:DesignHeight="200" d:DesignWidth="500">

    <Grid d:DataContext="{d:DesignInstance IsDesignTimeCreatable=True, Type={x:Type vms:DocumentationViewModel}}">
        <Ribbon>
            <RibbonTab Header="Home" KeyTip="H">
                <RibbonGroup Header="Navigation">
                    <RibbonButton Label="Back" LargeImageSource="/Sidvall.AuthorizationManager.UI.Wpf;component/Images/Back.png" 
                                  Command="{Binding GoBackCommand}" IsEnabled="{Binding CanGoBack}"
                                  ToolTipTitle="Go Back (Alt+Left)"/>
                    <RibbonButton Label="Forward" LargeImageSource="/Sidvall.AuthorizationManager.UI.Wpf;component/Images/Forward.png" 
                                  Command="{Binding GoForwardCommand}" IsEnabled="{Binding CanGoForward}" 
                                  ToolTipTitle="Go Forward (Alt+Right)"/>
                </RibbonGroup>
                <RibbonGroup Header="Tools">
                    <RibbonButton Label="Servers" LargeImageSource="/Sidvall.AuthorizationManager.UI.Wpf;component/Images/Server.png" 
                                  Command="{Binding ConnectToServerCommand}" />
                    <RibbonButton Label="Settings" LargeImageSource="/Sidvall.AuthorizationManager.UI.Wpf;component/Images/UserConfiguration.png" 
                                  Command="{Binding ShowUserConfigurationCommand}" />
                </RibbonGroup>
                <RibbonGroup Header="Help">
                    <RibbonButton Label="Manual" LargeImageSource="/Sidvall.AuthorizationManager.UI.Wpf;component/Images/Documentation.png" 
                                  Command="{Binding ShowDocumentationCommand}"/>
                    <RibbonButton Label="Portal" LargeImageSource="/Sidvall.AuthorizationManager.UI.Wpf;component/Images/Project_Portal.png" 
                                  Command="{Binding ShowHelpCommand}"/>
                </RibbonGroup>
            </RibbonTab>
        </Ribbon>
    </Grid>
</views:MvxWpfView>
